import request from '@/utils/request'

// 获取路由
export const getRouters = () => {
  return request({
    url: '/getRouters',
    method: 'get'
  })
}

// 查询所有研究中心信息
export const researchCenter = () => {
  return request({
    url: '/research_center/all',
    method: 'get'
  })
}

// 查询项目中心列表
export const projectCenter = (params) => {
  return request({
    url: '/project_center/all',
    method: 'get',
    params: params
  })
}

// 获取项目下的所有研究对象
export const researchObject = (params) => {
  return request({
    url: '/research_object/page',
    method: 'get',
    params: params
  })
}